<?php if ( ! defined('IN_DILICMS')) exit('No direct script access allowed');
$setting['models']['article']=array (
  'id' => '6',
  'name' => 'article',
  'description' => '文章表',
  'perpage' => '20',
  'hasattach' => '1',
  'built_in' => '0',
  'thumb_preferences' => '{"enabled":[],"default":"original"}',
  'fields' => 
  array (
    21 => 
    array (
      'id' => '21',
      'name' => 'title',
      'description' => '题目',
      'model' => '6',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '0',
      'editable' => '1',
    ),
    22 => 
    array (
      'id' => '22',
      'name' => 'author',
      'description' => '作者',
      'model' => '6',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '1',
      'editable' => '1',
    ),
    23 => 
    array (
      'id' => '23',
      'name' => 'source',
      'description' => '来源',
      'model' => '6',
      'type' => 'input',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '1',
      'listable' => '1',
      'order' => '2',
      'editable' => '1',
    ),
    24 => 
    array (
      'id' => '24',
      'name' => 'category',
      'description' => '栏目',
      'model' => '6',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'category|category_name',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '3',
      'editable' => '1',
    ),
    25 => 
    array (
      'id' => '25',
      'name' => 'focus',
      'description' => '焦点图',
      'model' => '6',
      'type' => 'file',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '4',
      'editable' => '1',
    ),
    26 => 
    array (
      'id' => '26',
      'name' => 'content',
      'description' => '内容',
      'model' => '6',
      'type' => 'wysiwyg',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '5',
      'editable' => '1',
    ),
    27 => 
    array (
      'id' => '27',
      'name' => 'hits',
      'description' => '点击量',
      'model' => '6',
      'type' => 'int',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '6',
      'editable' => '1',
    ),
    28 => 
    array (
      'id' => '28',
      'name' => 'ontop',
      'description' => '置顶',
      'model' => '6',
      'type' => 'int',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => '',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '0',
      'order' => '7',
      'editable' => '1',
    ),
    29 => 
    array (
      'id' => '29',
      'name' => 'user',
      'description' => '发布人',
      'model' => '6',
      'type' => 'select_from_model',
      'length' => '0',
      'values' => 'user|username',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '8',
      'editable' => '1',
    ),
    34 => 
    array (
      'id' => '34',
      'name' => 'add_time',
      'description' => '发布时间',
      'model' => '6',
      'type' => 'datetime',
      'length' => '0',
      'values' => '',
      'width' => '0',
      'height' => '0',
      'rules' => 'required',
      'ruledescription' => '',
      'searchable' => '0',
      'listable' => '1',
      'order' => '9',
      'editable' => '1',
    ),
  ),
  'listable' => 
  array (
    0 => '21',
    1 => '22',
    2 => '23',
    3 => '24',
    4 => '27',
    5 => '29',
    6 => '34',
  ),
  'searchable' => 
  array (
    0 => '21',
    1 => '22',
    2 => '23',
  ),
);